package com.youku.mson.lexer;

public class Token {

	private String value;

	private TokenType tokenType;

	public Token(String value, TokenType tokenType) {
		super();
		this.value = value;
		this.tokenType = tokenType;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public TokenType getTokenType() {
		return tokenType;
	}

	public void setTokenType(TokenType tokenType) {
		this.tokenType = tokenType;
	}

	@Override
	public String toString() {
		return "Token [value=" + value + ", tokenType=" + tokenType + "]";
	}

}
